<!DOCTYPE html>
<html lang="en">
<head>
	<!--#include file="/link/inc/head.html" -->
	<link rel="stylesheet" href="../js/chosen_v1.4.2/chosen.css">
	<link rel="stylesheet" href="../css/setting.css">

	<script src="../js/chosen_v1.4.2/chosen.jquery.js"></script>
	<script>
	$(function(){
		$(".chosen-select").chosen({disable_search_threshold: 10});

        $('.set-box .tabs').tabs(
        	'.ct > .panes', {
	            current: 'active',
	            tabs: 'li'
        });
        $('.panes .mark').addClass('hidden');
        $('.panes .penal .link-higher').on('click', function(){
        	$('.panes .mark').toggleClass('hidden');
        });
	})
	</script>
</head>
<body>
	<!--#include file="/link/inc/header.html" -->
	<div class="wrapper">
		<div class="content ct-mod">
			<div class="hd">
				<div class="tit">端口映射</div>
			</div>
			<div class="bd">
				<form class="form" autocomplete="off">
					<div class="ct">
						<div class="panes">
							<div class="penal">
								<div class="control">
									<label>主机IP</label>
									<div class="field">
										<div class="input-text">
											<input type="text" class="input-text" value="PC-1234123">
										</div>
									</div>
								</div>
								<div class="control">
									<label>外网端口</label>
									<div class="field2 field3">
										<div class="input-text">
											<input type="text" class="input-text" value="80">
										</div>
										<label>-</label>
										<div class="input-text">
											<input type="text" class="input-text" value="80">
										</div>
									</div>
									<label class="w50">协议</label>
									<div class="field4">
										<div class="input-text">
											<input type="text" class="input-text" value="TCP">
										</div>
									</div>
								</div>
								<div class="control">
									<label>内网端口</label>
									<div class="field2 field3">
										<div class="input-text">
											<input type="text" class="input-text" value="80">
										</div>
										<label>-</label>
										<div class="input-text">
											<input type="text" class="input-text" value="80">
										</div>
									</div>
								</div>
								<div class="control">
									<label>备注</label>
									<div class="field">
										<div class="input-text">
											<input type="text" class="input-text" value="ERP">
										</div>
									</div>
								</div>
								<div class="control">
									<div class="btns">
										<a href="#" class="btn-add">添加</a>
									</div>
								</div>
							</div>
							<div class="penal table-box">
								<div class="table">
									<table>
										<tr>
											<th>备注</th>								
											<th>主机IP</th>
											<th>协议</th>
											<th>内网端口</th>
											<th>外网端口</th>
											<th>操作</th>
										</tr>
										<tr>
											<td>WEB主机</td>
											<td>192.168.1.11</td>
											<td>TCP</td>
											<td>80</td>
											<td>81</td>
											<td><a href="#" class="update">更新</a></td>
										</tr>
										<tr>
											<td></td>
											<td>192.168.1.12</td>
											<td>TCP + UDP</td>
											<td>9000</td>
											<td>9000</td>
											<td></td>
										</tr>
										<tr>
											<td></td>
											<td>192.168.1.13</td>
											<td>UDP</td>
											<td>8000</td>
											<td>8000</td>
											<td><a href="#" class="update">更新</a></td>
										</tr>
									</table>
								</div>
								<div class="btns">
									<button class="btn-add">保存</button>
								</div>
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</body>
</html>